/******************************************************************************/
/* [[--]]                                                                     */
/*          ::::::::::::::::                                                  */
/*       :::::::::::::########:                                               */
/*     :::::::::::::############:                                             */
/*    :::::::::::..##############:                                            */
/*   ::::::::::...################:                                           */
/*  :::::::::.....################.:                                          */
/*  :::::::::......##############..:  This product is protected under         */
/*  ::::::::........############...:  copyright law                           */
/*  ::::::::..........########.....:                                          */
/*   ::::::::.....................:   (c) Copyright 2008-2009, FlexyCore SAS. */
/*    ::::::::...................:                                            */
/*     ::::::::.................:     All rights reserved.                    */
/*       :::::::::............:                                               */
/*          ::::::::::::::::                                                  */
/* [[++]]                                                                     */
/******************************************************************************/

package com.flexycore.iphoneapps.weather;

import com.flexycore.iphone.coregraphics.CGPoint;
import com.flexycore.iphone.coregraphics.CGRect;
import com.flexycore.iphone.uikit.UIActivityIndicatorView;
import com.flexycore.iphone.uikit.UIActivityIndicatorViewStyle;
import com.flexycore.iphone.uikit.UIViewController;

public class WaitView extends UIViewController {

	public WaitView() {
		init();
	}

	public void loadView() {
		super.loadView();
		
		// Construct a view with a ActivityIndicator
		UIActivityIndicatorView indicator;
		CGRect rect = new CGRect().init(0, 0, 32, 32); 
		indicator = new UIActivityIndicatorView();
		indicator.initWithFrame(rect);
		indicator.setCenter(new CGPoint().init(160,200));
		indicator.setActivityIndicatorViewStyle(UIActivityIndicatorViewStyle.UIActivityIndicatorViewStyleWhiteLarge);
		setView(indicator);

		indicator.startAnimating();	
	}
}
